Application-Defined Functions QuickDraw GX supports application-defined error, warning, and notice handlers. These handlers are installed by the use of the GXSetUserGraphicsError, GXSetUserGraphicsWarning, and GXSetUserGraphicsNotice functions.
GXSetUserGraphicsError
GXSetUserGraphicsWarning
GXSetUserGraphicsNotice